package Construct;

/**
 * 构造器模式客户端
 * Created by Garden on 2019/5/13.
 */
public class Client {

    public static void main(String[] args) {
        AbstractProduct productOne = (new ProductOneBuilder())
                .addAssemblyOne("assemblyOne")
                .addAssemblyTwo("assemblyTwo")
                .build();
        productOne.introduce();
    }

}
